package com.ushine.web.component.design.chain.demo;

import com.ushine.web.component.design.chain.demo.config.AbstractRequestHandler;
import com.ushine.web.component.design.chain.demo.model.RequestChainBO;
import com.ushine.web.component.http.HttpResponseVO;
import org.springframework.stereotype.Component;


/**
 * @Author: yls
 * @Date: 2022/02/24 10:43
 * @Description: 模拟请求头验证
 * @Version 1.0
 */
@Component
public class HeaderHandler extends AbstractRequestHandler {

    @Override
    protected HttpResponseVO<Object> process(RequestChainBO requestChainBO) {
        return new HttpResponseVO<>().ok("请求头验证通过！");
    }
}
